import 'package:fashion_app/components/bottom_nav.dart';
import 'package:fashion_app/components/top_nav.dart';
import 'package:fashion_app/pages/closetPages/components/left_nav.dart';
import 'package:flutter/material.dart';
import 'package:fashion_app/pages/closetPages/mock.dart';

class ClosetPage extends StatefulWidget {
  @override
  _ClosetPageState createState() => _ClosetPageState();
}

class _ClosetPageState extends State<ClosetPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(
        child: Row(
          children: [
            Expanded(
              flex: 1,
              child: LeftNavBar(clothTypeList: closetHome.clothTypeList),
            ),
            // 内容区域
            Expanded(
              flex: 4,
              child: Container(
                // 此处可添加内容区域的具体内容
              ),
            ),
          ],
        ),
      ),
      bottomNavigationBar: BottomNav(initialIndex: 1),
      appBar: PreferredSize(
        preferredSize: Size.fromHeight(kToolbarHeight),
        child: TopNav(hasUnreadMessages: true),
      ),
    );
  }
}
